#! /bin/bash

rm -f /tmp/*.ppm
for i in `seq 0 2 32`; do ./testsuite/gen-image -M column --column $i --red   0xfffe -w 32 -h 32 | bayer2rgb -w 32 -h 32 -M neon --output-format ppm > /tmp/red-$i.ppm; done
for i in `seq 1 2 32`; do ./testsuite/gen-image -M column --column $i --blue  0xfffe -w 32 -h 32 | bayer2rgb -w 32 -h 32 -M neon --output-format ppm > /tmp/blue-$i.ppm; done
for i in `seq 2 4 32`; do ./testsuite/gen-image -M column --column $i --green 0xfffe -w 32 -h 32 | bayer2rgb -w 32 -h 32 -M neon --output-format ppm > /tmp/green0-$i.ppm; done
for i in `seq 3 4 32`; do ./testsuite/gen-image -M column --column $i --green 0xfffe -w 32 -h 32 | bayer2rgb -w 32 -h 32 -M neon --output-format ppm > /tmp/green1-$i.ppm; done

cd /tmp
tar cf - *.ppm
